package com.xc.hotelmgr.consumermq.service.FeignService;

import com.xc.hotelmgr.consumermq.pojo.mq.TaskHotelList;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("datahandler-ctrip")
public interface CtripFeginServiceOnece {
    /**
     * 分组酒店推送
     * @param taskHotelList
     * @return
     */
    @RequestMapping(value = "/ctrip/static", method = RequestMethod.POST)
    void pullAll(@RequestBody TaskHotelList taskHotelList);

}
